<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">

<style type="text/css">
    ul.errorlist {
        margin: 0;
        padding: 0;
    }
    .errorlist li {
        background-color: red;
        color: white;
        display: block;
        font-size: 10px;
        margin: 0 0 3px;
        padding: 4px 5px;
    }
</style>

<html lang="en">
<head>
    <title>Class Ratings</title>
</head>
<body>
	
	{% if ratings %}
    <h2>Ratings for "{{ classname|escape }}":</h2>

    {% if ratings %}
	  <ul>
		<h2>Ratings!</h2>
        <li>Is Difficult:  {{ ratings.DifficultPos|escape }} Yes and {{ ratings.DifficultNeg|escape }} No</li>
		<li>Is Interesting: {{ ratings.InterestingPos|escape }} Yes and {{ ratings.InterestingNeg|escape }} No</li>
		<li>Heavy Workload: {{ ratings.HeavyWorkloadPos|escape }} Yes and {{ ratings.HeavyWorkloadNeg|escape }} No</li>
		<li>Glad they took it: {{ ratings.GladTookPos|escape }} Yes and {{ ratings.GladTookNeg|escape }} No</li>		
     </ul>
	 <p><li>Go back to <A HREF="http://127.0.0.1:8000/rate_class/">Rate Classes</A>
    {% else %}
      <p>No classes found</p>
    {% endif %}
  {% endif %}
	
	
</body>
</html>



  
